projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccd0c24
)
uniphier: move ROTPK hash to .rodata section
author
Masahiro Yamada
<
[email protected]
>
Tue, 17 Oct 2017 01:52:53 +0000
(10:52 +0900)
committer
Masahiro Yamada
<
[email protected]
>
Wed, 18 Oct 2017 12:57:34 +0000
(21:57 +0900)
This is not executable code. It should be put into .rodata instead
of .text section.
This produces more correct BL1 image when SEPARATE_CODE_AND_RODATA is
defined.
Signed-off-by: Masahiro Yamada <
[email protected]
>
plat/socionext/uniphier/uniphier_rotpk.S
patch
|
blob
|
history
diff --git
a/plat/socionext/uniphier/uniphier_rotpk.S
b/plat/socionext/uniphier/uniphier_rotpk.S
index 0045a34954f74663d12b7c9972de0ec036a16fb3..21c44b621b9e12506e02d3ef110f1267db6dc031 100644
(file)
--- a/
plat/socionext/uniphier/uniphier_rotpk.S
+++ b/
plat/socionext/uniphier/uniphier_rotpk.S
@@
-6,6
+6,7
@@
.global uniphier_rotpk_hash
.global uniphier_rotpk_hash_end
+ .section .rodata.uniphier_rotpk_hash, "a"
uniphier_rotpk_hash:
/* DER header */
.byte 0x30, 0x31, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86, 0x48